<% form_for(@billing_credit_card) do |f| %>
  <%= f.error_messages %>
  <% if @billing_credit_card.id.nil? %>
  <p>
    <%= f.label :billing_profile_id %><br />
    <%= f.collection_select(:billing_profile_id, @billing_profiles, :id, :id, {:include_blank => true}) %> 
  </p>
  <% end %>
  <!-- <p>
    <%= f.label :billing_profile_id %><br />
    <%= f.text_field :billing_profile_id %>
  </p> -->
  <!-- <p>
    <%= f.label :status %><br />
    <%= f.text_field :status %>
  </p> -->
  <!-- <p>
    <%= f.label :kind %><br />
    <%= f.text_field :kind %>
  </p> -->
  <!-- <p>
    <%= f.label :customer_payment_id %><br />
    <%= f.text_field :customer_payment_id %>
  </p> -->
  <p>
    <%= f.label :first_name %><br />
    <%= f.text_field :first_name, :value => "first_name" %>
  </p>
  <p>
    <%= f.label :last_name %><br />
    <%= f.text_field :last_name, :value => "last_name" %>
  </p>
  <p>
    <%= f.label :card_number %><br />
    <%= f.text_field :card_number %>
  </p>
  <p>
    <%= f.label :card_type %><br />
    <%= f.text_field :card_type %>
  </p>
  <p>
    <%= f.label :card_verification %><br />
    <%= f.text_field :card_verification, :value => "123" %>
  </p>
  <p>
    <%= f.label :account_primary %><br />
    <%= f.text_field :account_primary %>
  </p>
  <p>
    <%= f.label :expires_at_month %><br />
    <%= f.select :expires_at_month, (1..12).collect, :include_blank => true %>
  </p>
  <p>
    <%= f.label :expires_at_year %><br />
    <%= f.select :expires_at_year, (Date.today.year..Date.today.year+10).collect, :include_blank => true %>
  </p>
  <p>
    <%= f.label :zipcode %><br />
    <%= f.text_field :zipcode %>
  </p>

  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>